<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./font/iconfont.css">
    <style>
        .search{
            width: 490px;
            height: 36px;
            border: 2px solid #e2231a;
            display: flex;
        }
        .search .left {
            flex: 1;
            display: flex;
        }
        .search .left .left-input {
            flex: 1;
            padding: 6px 10px;
            display: flex;
        }
        .search .left .left-input input {
            flex: 1;
            border: none;
            outline: none;
        }
        .search .left .left-camera{
            flex-basis: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }
        .search .left .left-camera .iconfont:hover {
            color: red;
        }
        .search .right {
            flex-basis: 58px;
            background-color: #e1251b;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }
        .search .right:hover{
            background-color: #a73b35;
            transition-delay: .5s;
        }
        .search .right .iconfont {
            color: white;
            font-weight: bold;
            font-size: 20px;
        }
    </style>
</head>
<body>
    <div class="search">
        <div class="left">
            <div class="left-input">
                <input type="text" placeholder="水果礼盒">
            </div>
            <div class="left-camera">
                <div class="iconfont icon-zhaoxiangji"></div>
            </div>
        </div>
        <div class="right">
            <div class="iconfont icon-search"></div>
        </div>
    </div>
</body>
</html>